package com.cqc.pinyindemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;


public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


        String text = "特朗普";
        String s = PinYinUtil.toPinYin(text);

        Log.d("MainActivity", s);
    }
}
